Skip to content

Commit

Permalink
fix define
Browse files Browse the repository at this point in the history
  • Loading branch information
fredroy committed Jan 31, 2024
1 parent aacaaa3 commit 8f395f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sofa/framework/Testing/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ if(NOT googletest_FOUND AND SOFA_ALLOW_FETCH_DEPENDENCIES)

add_subdirectory(${googletest_SOURCE_DIR} ${googletest_BINARY_DIR})

target_compile_options(gtest_main PRIVATE "-GTEST_LINKED_AS_SHARED_LIBRARY=0")
target_compile_options(gtest_main PRIVATE "-DGTEST_LINKED_AS_SHARED_LIBRARY=0")
target_compile_options(gtest PRIVATE "-DGTEST_CREATE_SHARED_LIBRARY=1")

include(SofaMacros)
Expand Down

0 comments on commit 8f395f9

Please sign in to comment.