forked from metin-server/m2dev-client-src
ported to DX9
This commit is contained in:
14
extern/library/Python/CMakeLists.txt
vendored
14
extern/library/Python/CMakeLists.txt
vendored
@@ -1,11 +1,3 @@
|
||||
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"
|
||||
)
|
||||
add_library(Python INTERFACE)
|
||||
target_include_directories(Python INTERFACE "${CMAKE_SOURCE_DIR}/extern/include")
|
||||
target_link_libraries(Python INTERFACE "${CMAKE_CURRENT_LIST_DIR}/python27_static.lib")
|
||||
|
||||
Reference in New Issue
Block a user