Skip to content

Commit

Permalink
Add missing include
Browse files Browse the repository at this point in the history
The build fails because of a missing include in cmake:

    CMake Error at CMakeLists.txt:353 (check_symbol_exists):
      Unknown CMake command "check_symbol_exists".

Include the needed file to fix the issue.
  • Loading branch information
teknoraver authored and pmatilai committed Jan 8, 2024
1 parent 75965c1 commit 2300eb6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ set(CMAKE_SHARED_LIBRARY_PREFIX "")
set(CMAKE_SHARED_MODULE_PREFIX "")
set(CMAKE_POSITION_INDEPENDENT_CODE ON)
include(GNUInstallDirs)
include(CheckSymbolExists)
add_compile_definitions(_GNU_SOURCE)
add_definitions(-D_FILE_OFFSET_BITS=64)

Expand Down

0 comments on commit 2300eb6

Please sign in to comment.