Skip to content

Commit

Permalink
fix CMakeList.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
oathdruid committed May 14, 2024
1 parent 16d927f commit c78f723
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ set_source_files_properties(
"${CMAKE_CURRENT_SOURCE_DIR}/src/babylon/reusable/patch/arena.cpp"
PROPERTIES COMPILE_FLAGS "-fno-access-control")

if(CMAKE_SOURCE_DIR STREQUAL CMAKE_CURRENT_SOURCE_DIR)
if(NOT BUILD_DEPS AND CMAKE_SOURCE_DIR STREQUAL CMAKE_CURRENT_SOURCE_DIR)
install(TARGETS babylon EXPORT babylon)
install(DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/src/babylon"
DESTINATION include
Expand Down

0 comments on commit c78f723

Please sign in to comment.