Fix install location for Win64.
authorhobbes1069 <hobbes1069@01035d8c-6547-0410-b346-abe4f91aad63>
Sat, 3 Oct 2015 02:57:17 +0000 (02:57 +0000)
committerhobbes1069 <hobbes1069@01035d8c-6547-0410-b346-abe4f91aad63>
Sat, 3 Oct 2015 02:57:17 +0000 (02:57 +0000)
git-svn-id: https://svn.code.sf.net/p/freetel/code@2413 01035d8c-6547-0410-b346-abe4f91aad63

freedv-dev/CMakeLists.txt

index 6df5a47238d33a00288712cf906cb9b6dee7a28e..4e26437ec8863d549213e8131a8ff9b6ff237111 100644 (file)
@@ -453,6 +453,7 @@ if(WIN32)
     # Detect if we're doing a 32-bit or 64-bit windows build.
     if(${CMAKE_SIZEOF_VOID_P} EQUAL 8)
         set(CMAKE_CL_64 TRUE)
+        set(CPACK_NSIS_INSTALL_ROOT "$PROGRAMFILES64")
     endif()
     if(NOT ${CMAKE_BUILD_TYPE} STREQUAL "Debug")
         set(CPACK_STRIP_FILES TRUE)