Skip to content

Commit 0931990

Browse files
committed
Fix boost dynamic linking usage.
1 parent 7b1c00c commit 0931990

File tree

3 files changed

+2
-3
lines changed

3 files changed

+2
-3
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ target_include_directories(${PROJECT_NAME}
8080
target_link_libraries(${PROJECT_NAME}
8181
PUBLIC Boost::boost panda3d::panda3d
8282

83-
PRIVATE $<$<NOT:$<BOOL:Boost_USE_STATIC_LIBS>>:Boost::dynamic_linking>
83+
PRIVATE $<$<NOT:$<BOOL:${Boost_USE_STATIC_LIBS}>>:Boost::dynamic_linking>
8484
Boost::filesystem Boost::system
8585
${FREETYPE_LIBRARIES} yaml-cpp spdlog::spdlog
8686
)

cmake/FindPackages.cmake

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ find_package(Boost 1.62.0 REQUIRED COMPONENTS filesystem system)
1313

1414
# find panda3d
1515
set(PANDA3D_ROOT "" CACHE PATH "Hint for finding panda3d root directory")
16-
#find_package(panda3d REQUIRED COMPONENTS libp3framework libpanda libpandaexpress libp3dtool libp3dtoolconfig libp3direct libp3interrogatedb)
1716
find_package(panda3d REQUIRED)
1817

1918
# find doxygen

cmake/Findpanda3d.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ FIND_PACKAGE_HANDLE_STANDARD_ARGS(panda3d
6161
)
6262

6363
if(panda3d_FOUND)
64-
message(STATUS "Found the following panda3d libraries:")
64+
message(STATUS "Found the following Panda3D libraries:")
6565
foreach(COMPONENT ${panda3d_FIND_COMPONENTS})
6666
message (STATUS " ${COMPONENT}")
6767
endforeach()

0 commit comments

Comments
 (0)