Update CMake files in order to be able to compile under Windows 64bits. (Thanks to Fkooman)
This commit is contained in:
parent
831dbd31a4
commit
a58ac6926d
5 changed files with 196 additions and 45 deletions
|
|
@ -45,9 +45,9 @@ ADD_SUBDIRECTORY(src)
|
|||
IF(MSVC)
|
||||
SET(CPACK_GENERATOR "NSIS")
|
||||
ELSE(MSVC)
|
||||
SET(CPACK_GENERATOR "TGZ")
|
||||
SET(CPACK_GENERATOR "TBZ2")
|
||||
ENDIF(MSVC)
|
||||
SET(CPACK_PACKAGE_FILE_NAME "libnfc-${VERSION}-bin")
|
||||
SET(CPACK_PACKAGE_FILE_NAME "libnfc-${VERSION}-bin-${CMAKE_SYSTEM_PROCESSOR}")
|
||||
SET(CPACK_PACKAGE_DESCRIPTION_SUMMARY "Near Field Communication (NFC) library")
|
||||
SET(CPACK_PACKAGE_VENDOR "Roel Verdult")
|
||||
SET(CPACK_PACKAGE_DESCRIPTION_FILE "${CMAKE_CURRENT_SOURCE_DIR}/README")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue