fix python library name in Windows

This commit is contained in:
Matthias 2015-10-20 02:15:01 -07:00
parent e6157eecd8
commit 5c2080c006

View File

@ -19,8 +19,8 @@ if(USE_PYTHON)
set_target_properties( ngpy PROPERTIES SUFFIX ".so") set_target_properties( ngpy PROPERTIES SUFFIX ".so")
elseif(WIN32) elseif(WIN32)
set_target_properties( ngpy PROPERTIES SUFFIX ".pyd") set_target_properties( ngpy PROPERTIES SUFFIX ".pyd")
set_target_properties( ngpy PROPERTIES OUTPUT_NAME "libngpy")
endif() endif()
# set_target_properties( ngpy PROPERTIES OUTPUT_NAME "nglib")
install(TARGETS ngpy ${ng_install_dir}) install(TARGETS ngpy ${ng_install_dir})
endif(USE_PYTHON) endif(USE_PYTHON)