mirror of
https://github.com/nfc-tools/libnfc.git
synced 2026-03-03 06:11:46 +00:00
Windows packaging improvement
- Stepped away from NSIS, to just be a plain zip file - Fixed a bug (though when trying NSIS) of dealing with slashes in windows paths - Had package add .lib file instead of .dll.a file, since lib files tend to be more useful for Windows developers
This commit is contained in:
@@ -100,7 +100,7 @@ IF(WIN32)
|
||||
INSTALL(TARGETS nfc RUNTIME DESTINATION bin COMPONENT libraries)
|
||||
|
||||
# At compile time we need the .LIB file, we place it in the lib directory
|
||||
INSTALL(TARGETS nfc ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR} COMPONENT headers)
|
||||
INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/libnfc.lib DESTINATION ${CMAKE_INSTALL_LIBDIR} COMPONENT libraries)
|
||||
ELSE(WIN32)
|
||||
INSTALL(TARGETS nfc LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} COMPONENT libraries)
|
||||
ENDIF(WIN32)
|
||||
|
||||
Reference in New Issue
Block a user