mirror of
https://github.com/libexpat/libexpat.git
synced 2025-04-07 22:19:12 +00:00
cmake: include the current directory's ConfigureChecks.cmake
The file we want is always in the same directory. The `ConfigureChecks.cmake` file is included in many projects and the wrong `CMAKE_MODULE_PATH` can cause the wrong one to be used here.
This commit is contained in:
parent
dc4422e894
commit
ab89ae73c7
1 changed files with 1 additions and 1 deletions
|
@ -37,7 +37,7 @@ if(BUILD_tests)
|
|||
enable_testing()
|
||||
endif(BUILD_tests)
|
||||
|
||||
include(ConfigureChecks.cmake)
|
||||
include(${CMAKE_CURRENT_LIST_DIR}/ConfigureChecks.cmake)
|
||||
|
||||
set(EXTRA_LINK_AND_COMPILE_FLAGS "-fno-strict-aliasing")
|
||||
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${EXTRA_LINK_AND_COMPILE_FLAGS}")
|
||||
|
|
Loading…
Add table
Reference in a new issue