Skip to content

Commit

Permalink
fix: Build error
Browse files Browse the repository at this point in the history
  • Loading branch information
ENDERZOMBI102 committed Mar 4, 2024
1 parent 73517f1 commit 26a8d5c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ list( APPEND ${PROJECT_NAME}_SOURCES

# Create CLI executable
add_executable( ${PROJECT_NAME} ${${PROJECT_NAME}_SOURCES} )
target_compile_definitions( ${PROJECT_NAME} PRIVATE $<$<CONFIG:Debug>:DEBUG> VERIFIER_VERSION="${PROJECT_VERSION}" )
target_compile_definitions( ${PROJECT_NAME} PRIVATE $<$<CONFIG:Debug>:DEBUG> "VERIFIER_VERSION=\"${PROJECT_VERSION}\"" )

# Link to CLI dependencies
include( "${CMAKE_CURRENT_SOURCE_DIR}/src/thirdparty/CMakeLists.txt" )
Expand Down
6 changes: 3 additions & 3 deletions src/thirdparty/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@ set( BUILD_SHARED_LIBS OFF )

# argumentum
set( ARGUMENTUM_BUILD_STATIC_LIBS ON CACHE INTERNAL "" )
add_subdirectory( "${CMAKE_CURRENT_LIST_DIR}/argumentum" )
add_subdirectory( "${CMAKE_CURRENT_LIST_DIR}/argumentum" SYSTEM )

# fmt
add_subdirectory( "${CMAKE_CURRENT_LIST_DIR}/fmt" )
add_subdirectory( "${CMAKE_CURRENT_LIST_DIR}/fmt" SYSTEM )

# hash-library
file( GLOB HASH_LIBRARY_SOURCES "${CMAKE_CURRENT_LIST_DIR}/hash-library/*.cpp" "${CMAKE_CURRENT_LIST_DIR}/hash-library/*.h" )
add_library( hash-library STATIC ${HASH_LIBRARY_SOURCES} )
target_include_directories( hash-library PUBLIC "${CMAKE_CURRENT_LIST_DIR}" )
target_include_directories( hash-library PUBLIC "${CMAKE_CURRENT_LIST_DIR}" SYSTEM )

0 comments on commit 26a8d5c

Please sign in to comment.