fix cmakelist on windows

This commit is contained in:
2014-11-17 00:03:47 +00:00
parent 2a2d3b75c8
commit 385440c86d
2 changed files with 8 additions and 5 deletions
+4
View File
@@ -2,6 +2,10 @@
# DLLs and Win32 specific code
######################################################################################
if (MSVC_IDE)
# hack to get around the "Debug" and "Release" directories cmake tries to add on Windows
set_target_properties (${PROJECT_NAME} PROPERTIES PREFIX "../")
endif()
SET(MSVC_DLL_DIR "MSVC_DLL_DIR" CACHE PATH "Where to find MSVC dlls")
INSTALL(FILES ${MSVC_DLL_DIR}/msvcr120.dll DESTINATION bin )