From 09ce2233ce6e4bec5c03ae8b5fcef500a45143d6 Mon Sep 17 00:00:00 2001 From: Ray Lee Date: Sun, 16 Aug 2015 18:22:15 +0800 Subject: [PATCH] Bugfix:Set variable "prefix" for WIN32 --- CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index cf43cbe..736cf8d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -136,6 +136,7 @@ IF(WIN32) GET_CURRENT_YEAR(CURRENT_YEAR) MESSAGE("Year for copyright is " ${CURRENT_YEAR}) + SET(prefix ${CMAKE_INSTALL_PREFIX}) SET(RC_COMMENT "${PACKAGE_NAME} library") SET(RC_INTERNAL_NAME "${PACKAGE_NAME} ${WIN32_MODE}") SET(RC_ORIGINAL_NAME ${PACKAGE_NAME}.dll)