mirror of
https://github.com/avast/retdec.git
synced 2025-03-02 18:56:51 +00:00
deps/yaramod: propagate CMAKE_CXX_FLAGS_DEBUG
This commit is contained in:
parent
79ab964625
commit
9ee4783ab3
@ -55,11 +55,11 @@ set(YARA_ARCHIVE_SHA256
|
||||
)
|
||||
|
||||
set(YARAMOD_URL
|
||||
"https://github.com/avast/yaramod/archive/57f4ee87372aba7735bbcc1ed870f43faaa8127b.zip"
|
||||
"https://github.com/avast/yaramod/archive/fe9ef1c3a2767868f31cb5a7189c173b4b27557b.zip"
|
||||
CACHE INTERNAL "URL of YaraMod archive to use."
|
||||
)
|
||||
set(YARAMOD_ARCHIVE_SHA256
|
||||
"c7fdfc1a425d5bcab18fd336e284ee3dff0fe64749a46348af289cfed6fe2b92"
|
||||
"55445a8a21fab13cbdf228f397635c587e2a58605407be32bc70329de60c6016"
|
||||
CACHE INTERNAL ""
|
||||
)
|
||||
|
||||
|
2
deps/yaramod/CMakeLists.txt
vendored
2
deps/yaramod/CMakeLists.txt
vendored
@ -9,6 +9,7 @@ if(YARAMOD_LOCAL_DIR)
|
||||
# This does not work on MSVC, but may be useful on Linux.
|
||||
-DCMAKE_BUILD_TYPE=Release
|
||||
-DCMAKE_CXX_FLAGS_RELEASE=${CMAKE_CXX_FLAGS_RELEASE}
|
||||
-DCMAKE_CXX_FLAGS_DEBUG=${CMAKE_CXX_FLAGS_DEBUG}
|
||||
# Force the use of the same compiler as used to build the top-level
|
||||
# project. Otherwise, the external project may pick up a different
|
||||
# compiler, which may result in link errors.
|
||||
@ -32,6 +33,7 @@ else()
|
||||
# This does not work on MSVC, but may be useful on Linux.
|
||||
-DCMAKE_BUILD_TYPE=Release
|
||||
-DCMAKE_CXX_FLAGS_RELEASE=${CMAKE_CXX_FLAGS_RELEASE}
|
||||
-DCMAKE_CXX_FLAGS_DEBUG=${CMAKE_CXX_FLAGS_DEBUG}
|
||||
# Force the use of the same compiler as used to build the top-level
|
||||
# project. Otherwise, the external project may pick up a different
|
||||
# compiler, which may result in link errors.
|
||||
|
Loading…
x
Reference in New Issue
Block a user