forked from metin-server/m2dev-client-src
client almost builds
This commit is contained in:
11
extern/library/Python/CMakeLists.txt
vendored
Normal file
11
extern/library/Python/CMakeLists.txt
vendored
Normal file
@@ -0,0 +1,11 @@
|
||||
add_library(Python STATIC IMPORTED GLOBAL)
|
||||
|
||||
set(LIB_FILES
|
||||
"${CMAKE_CURRENT_LIST_DIR}/python27_static.lib"
|
||||
)
|
||||
|
||||
set_target_properties(Python PROPERTIES
|
||||
INTERFACE_INCLUDE_DIRECTORIES "${CMAKE_SOURCE_DIR}/extern/include"
|
||||
INTERFACE_LINK_LIBRARIES "${LIB_FILES}"
|
||||
INTERFACE_COMPILE_DEFINITIONS "Py_NO_ENABLE_SHARED=1"
|
||||
)
|
||||
Reference in New Issue
Block a user