File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -44,7 +44,7 @@ ENDFOREACH(source)
4444#install required libraries
4545IF (WIN32 )
4646 INCLUDE (InstallRequiredSystemLibraries)
47- CONFIGURE_FILE (${CMAKE_SOURCE_DIR} /cmake/FixBundle.cmake.in ${CMAKE_CURRENT_BINARY_DIR} /FixBundle.cmake @ONLY)
47+ CONFIGURE_FILE (${CMAKE_CURRENT_SOURCE_DIR} /.. /cmake/FixBundle.cmake.in ${CMAKE_CURRENT_BINARY_DIR} /FixBundle.cmake @ONLY)
4848 INSTALL (SCRIPT ${CMAKE_CURRENT_BINARY_DIR} /FixBundle.cmake)
4949ENDIF (WIN32 )
5050
Original file line number Diff line number Diff line change @@ -74,7 +74,7 @@ IF(LIBNFC_LOG)
7474 LIST (APPEND LIBRARY_SOURCES log log -internal )
7575 ENDIF (WIN32 )
7676ENDIF (LIBNFC_LOG)
77- ADD_LIBRARY (nfc SHARED ${LIBRARY_SOURCES} )
77+ ADD_LIBRARY (nfc ${LIBRARY_SOURCES} )
7878
7979IF (PCSC_FOUND)
8080 TARGET_LINK_LIBRARIES (nfc ${PCSC_LIBRARIES} )
@@ -111,6 +111,6 @@ IF(WIN32)
111111 # At compile time we need the .LIB file, we place it in the lib directory
112112 INSTALL (FILES ${CMAKE_CURRENT_BINARY_DIR} /libnfc.lib DESTINATION ${CMAKE_INSTALL_LIBDIR} COMPONENT libraries)
113113ELSE (WIN32 )
114- INSTALL (TARGETS nfc LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} COMPONENT libraries)
114+ INSTALL (TARGETS nfc ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR} LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} COMPONENT libraries)
115115ENDIF (WIN32 )
116116
You can’t perform that action at this time.
0 commit comments