|
@@ -1,14 +1,10 @@
|
|
|
include_directories (${CMAKE_SOURCE_DIR}/Source/ThirdParty/rapidjson/include
|
|
include_directories (${CMAKE_SOURCE_DIR}/Source/ThirdParty/rapidjson/include
|
|
|
${CMAKE_SOURCE_DIR}/Source/ThirdParty
|
|
${CMAKE_SOURCE_DIR}/Source/ThirdParty
|
|
|
${CMAKE_SOURCE_DIR}/Source/ThirdParty/Assimp/include
|
|
${CMAKE_SOURCE_DIR}/Source/ThirdParty/Assimp/include
|
|
|
- ${CMAKE_SOURCE_DIR}/Source/ThirdParty/nativefiledialog)
|
|
|
|
|
|
|
+ ${CMAKE_SOURCE_DIR}/Source/ThirdParty/nativefiledialog
|
|
|
|
|
+ ${CMAKE_SOURCE_DIR}/Source/ThirdParty/libcurl/include)
|
|
|
|
|
|
|
|
-add_definitions(-DCPLUSPLUS_WITHOUT_QT)
|
|
|
|
|
-
|
|
|
|
|
-if (MSVC)
|
|
|
|
|
- include_directories (${CMAKE_SOURCE_DIR}/Source/ThirdParty/libcurl/include)
|
|
|
|
|
- add_definitions(-DCURL_STATICLIB)
|
|
|
|
|
-endif()
|
|
|
|
|
|
|
+add_definitions(-DCPLUSPLUS_WITHOUT_QT -DCURL_STATICLIB)
|
|
|
|
|
|
|
|
file (GLOB_RECURSE SOURCE_FILES *.cpp *.h)
|
|
file (GLOB_RECURSE SOURCE_FILES *.cpp *.h)
|
|
|
|
|
|
|
@@ -19,7 +15,7 @@ endif()
|
|
|
|
|
|
|
|
add_library(ToolCore ${SOURCE_FILES})
|
|
add_library(ToolCore ${SOURCE_FILES})
|
|
|
|
|
|
|
|
-target_link_libraries(ToolCore Assimp Poco)
|
|
|
|
|
|
|
+target_link_libraries(ToolCore Assimp Poco libcurl)
|
|
|
|
|
|
|
|
if (LINUX)
|
|
if (LINUX)
|
|
|
target_link_libraries(ToolCore NETCore NETScript)
|
|
target_link_libraries(ToolCore NETCore NETScript)
|