File tree Expand file tree Collapse file tree 2 files changed +5
-8
lines changed Expand file tree Collapse file tree 2 files changed +5
-8
lines changed Original file line number Diff line number Diff line change @@ -22,13 +22,6 @@ add_definitions(
2222
2323add_compile_options (-std=c++14 -fpermissive)
2424
25- #find_package(Lua51 REQUIRED)
26- #find_package(OpenSSL REQUIRED)
27- #find_package(Theora REQUIRED)
28- #find_package(OGG REQUIRED)
29- #find_package(SDL2 REQUIRED)
30- #find_package(LZO REQUIRED)
31-
3225add_library (tbb SHARED IMPORTED GLOBAL )
3326add_library (lzo SHARED IMPORTED GLOBAL )
3427add_library (pugixml SHARED IMPORTED GLOBAL )
Original file line number Diff line number Diff line change @@ -18,4 +18,8 @@ message( "path " ${CMAKE_CURRENT_SOURCE_DIR} )
1818
1919add_library (xrCore SHARED ${XRCORE__SOURCES} ${XRCORE__INCLUDES} )
2020
21- #target_link_libraries(xrCore ${SDL2_LIBRARY} ${OPENSSL_LIBRARIES} ${LZO_LIBRARIES})
21+ find_library (SDL2_LIB SDL2)
22+ find_library (LZO_LIBRARY lzo2)
23+ find_library (CRYPTO_LIBRARY crypto++)
24+ find_library (PUGIXML_LIBRARY pugixml)
25+ target_link_libraries (xrCore ${SDL2_LIB} ${OPENSSL_LIBRARIES} ${LZO_LIBRARY} ${CRYPTO_LIBRARY} ${PUGIXML_LIBRARY} )
You can’t perform that action at this time.
0 commit comments