diff --git a/cmake/deps.cmake b/cmake/deps.cmake index 71731b5e..d54a0c09 100644 --- a/cmake/deps.cmake +++ b/cmake/deps.cmake @@ -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 "" ) diff --git a/deps/yaramod/CMakeLists.txt b/deps/yaramod/CMakeLists.txt index e21c6972..e16de849 100644 --- a/deps/yaramod/CMakeLists.txt +++ b/deps/yaramod/CMakeLists.txt @@ -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.