From 5c2080c006094062d1201537f572b47794e2d3ed Mon Sep 17 00:00:00 2001 From: Matthias Date: Tue, 20 Oct 2015 02:15:01 -0700 Subject: [PATCH] fix python library name in Windows --- ng/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ng/CMakeLists.txt b/ng/CMakeLists.txt index 5d331db0..db746b7d 100644 --- a/ng/CMakeLists.txt +++ b/ng/CMakeLists.txt @@ -19,8 +19,8 @@ if(USE_PYTHON) set_target_properties( ngpy PROPERTIES SUFFIX ".so") elseif(WIN32) set_target_properties( ngpy PROPERTIES SUFFIX ".pyd") + set_target_properties( ngpy PROPERTIES OUTPUT_NAME "libngpy") endif() -# set_target_properties( ngpy PROPERTIES OUTPUT_NAME "nglib") install(TARGETS ngpy ${ng_install_dir}) endif(USE_PYTHON)