Skip to content

Commit

Permalink
No mcx should not be a public definition
Browse files Browse the repository at this point in the history
Otherwise it propagates to any code that links against the static library
  • Loading branch information
ianhbell committed Aug 1, 2023
1 parent 09a2edb commit e84623f
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 @@ -96,7 +96,7 @@ if (NOT TEQP_NO_TEQPCPP)
target_link_libraries(teqpcpp PUBLIC teqpinterface PUBLIC autodiff)
target_include_directories(teqpcpp PUBLIC "${CMAKE_CURRENT_SOURCE_DIR}/interface/CPP")
set_property(TARGET teqpcpp PROPERTY POSITION_INDEPENDENT_CODE ON)
target_compile_definitions(teqpcpp PUBLIC -DMULTICOMPLEX_NO_MULTIPRECISION)
target_compile_definitions(teqpcpp PRIVATE -DMULTICOMPLEX_NO_MULTIPRECISION)

if (TEQP_TESTTEQPCPP)
add_executable(test_teqpcpp "${CMAKE_CURRENT_SOURCE_DIR}/interface/CPP/test/test_teqpcpp.cpp")
Expand Down

0 comments on commit e84623f

Please sign in to comment.