Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use provided libtool via CMAKE_LIBTOOL #1109

Merged
merged 1 commit into from
Sep 20, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions deps/capstone/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ ExternalProject_Add(capstone-project
"${CMAKE_C_COMPILER_OPTION}"
"${CMAKE_CXX_COMPILER_OPTION}"
-DCMAKE_POSITION_INDEPENDENT_CODE=${CMAKE_POSITION_INDEPENDENT_CODE}
-DCMAKE_LIBTOOL=${CMAKE_LIBTOOL}
# Patch the Capstone sources.
PATCH_COMMAND
${CMAKE_COMMAND} -Dcapstone_path=<SOURCE_DIR> -P ${CMAKE_CURRENT_SOURCE_DIR}/patch.cmake
Expand Down
1 change: 1 addition & 0 deletions deps/googletest/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ ExternalProject_Add(googletest
"${CMAKE_C_COMPILER_OPTION}"
"${CMAKE_CXX_COMPILER_OPTION}"
-DCMAKE_POSITION_INDEPENDENT_CODE=${CMAKE_POSITION_INDEPENDENT_CODE}
-DCMAKE_LIBTOOL=${CMAKE_LIBTOOL}
LOG_DOWNLOAD ON
LOG_CONFIGURE ON
LOG_BUILD ON
Expand Down
1 change: 1 addition & 0 deletions deps/keystone/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ ExternalProject_Add(keystone-project
"${CMAKE_C_COMPILER_OPTION}"
"${CMAKE_CXX_COMPILER_OPTION}"
-DCMAKE_POSITION_INDEPENDENT_CODE=${CMAKE_POSITION_INDEPENDENT_CODE}
-DCMAKE_LIBTOOL=${CMAKE_LIBTOOL}
LOG_DOWNLOAD ON
LOG_CONFIGURE ON
LOG_BUILD ON
Expand Down
3 changes: 3 additions & 0 deletions deps/llvm/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,9 @@ ExternalProject_Add(llvm-project
# Force Python3.
-DPYTHON_EXECUTABLE=${PYTHON_EXECUTABLE}

# Use provided libtool
-DCMAKE_LIBTOOL=${CMAKE_LIBTOOL}

# Targets to be build.
-DLLVM_TARGETS_TO_BUILD=X86

Expand Down
1 change: 1 addition & 0 deletions deps/yaramod/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ ExternalProject_Add(yaramod-project
"${CMAKE_C_COMPILER_OPTION}"
"${CMAKE_CXX_COMPILER_OPTION}"
-DCMAKE_POSITION_INDEPENDENT_CODE=${CMAKE_POSITION_INDEPENDENT_CODE}
-DCMAKE_LIBTOOL=${CMAKE_LIBTOOL}
LOG_DOWNLOAD ON
LOG_CONFIGURE ON
LOG_BUILD ON
Expand Down