CMake: Add Windows platform libraries when building on Win32.
This commit is contained in:
parent
74bc124867
commit
b64feda729
|
|
@ -130,6 +130,10 @@ target_link_libraries(p3express p3pandabase p3dtool p3dtoolconfig
|
|||
${_TAR_LIBRARY})
|
||||
target_interrogate(p3express ALL)
|
||||
|
||||
if(WIN32)
|
||||
target_link_libraries(p3express advapi32.lib ws2_32.lib)
|
||||
endif()
|
||||
|
||||
#add_executable(p3expressTestTypes test_types.cxx)
|
||||
#target_link_libraries(p3expressTestTypes p3express p3dtoolutil p3dtool p3prc p3dtoolconfig p3pystub)
|
||||
#add_test(p3express_test_types p3expressTestTypes)
|
||||
|
|
|
|||
Loading…
Reference in New Issue