mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-01 17:35:34 -04:00
CMake: Use OPENSSL package correctly in p3prc
This commit is contained in:
parent
4c8693f019
commit
0feadd9775
@ -76,7 +76,8 @@ target_include_directories(p3prc PUBLIC ${CMAKE_CURRENT_BINARY_DIR})
|
||||
# The extensions need py_panda.h and extension.h from interrogatedb
|
||||
target_include_directories(p3prc PUBLIC
|
||||
$<TARGET_PROPERTY:p3interrogatedb,INTERFACE_INCLUDE_DIRECTORIES>)
|
||||
target_link_libraries(p3prc p3dtool ${_OPENSSL_LIBRARIES})
|
||||
target_link_libraries(p3prc p3dtool)
|
||||
target_use_packages(p3prc OPENSSL)
|
||||
target_interrogate(p3prc ALL EXTENSIONS ${P3PRC_IGATEEXT})
|
||||
|
||||
install(TARGETS p3prc DESTINATION lib)
|
||||
|
Loading…
x
Reference in New Issue
Block a user