File cfitsio-cmake-lowercase-util-names.patch of Package cfitsio
---
CMakeLists.txt | 22 +++++++++++-----------
1 file changed, 11 insertions(+), 11 deletions(-)
Index: cfitsio-4.4.0/CMakeLists.txt
===================================================================
--- cfitsio-4.4.0.orig/CMakeLists.txt
+++ cfitsio-4.4.0/CMakeLists.txt
@@ -326,29 +326,29 @@ ENDIF(TESTS)
#==============================================================================
IF (UTILS)
- ADD_EXECUTABLE(FPack utilities/fpack.c utilities/fpackutil.c)
- TARGET_LINK_LIBRARIES(FPack ${LIB_NAME})
+ ADD_EXECUTABLE(fpack utilities/fpack.c utilities/fpackutil.c)
+ TARGET_LINK_LIBRARIES(fpack ${LIB_NAME})
- ADD_EXECUTABLE(Funpack utilities/funpack.c utilities/fpackutil.c)
- TARGET_LINK_LIBRARIES(Funpack ${LIB_NAME})
+ ADD_EXECUTABLE(funpack utilities/funpack.c utilities/fpackutil.c)
+ TARGET_LINK_LIBRARIES(funpack ${LIB_NAME})
- ADD_EXECUTABLE(Fitscopy utilities/fitscopy.c)
- TARGET_LINK_LIBRARIES(Fitscopy ${LIB_NAME})
+ ADD_EXECUTABLE(fitscopy utilities/fitscopy.c)
+ TARGET_LINK_LIBRARIES(fitscopy ${LIB_NAME})
- ADD_EXECUTABLE(Fitsverify
+ ADD_EXECUTABLE(fitsverify
utilities/ftverify.c utilities/fvrf_data.c
utilities/fvrf_file.c utilities/fvrf_head.c
utilities/fvrf_key.c utilities/fvrf_misc.c)
- TARGET_COMPILE_DEFINITIONS(Fitsverify PRIVATE -DSTANDALONE)
- TARGET_LINK_LIBRARIES(Fitsverify ${LIB_NAME})
+ TARGET_COMPILE_DEFINITIONS(fitsverify PRIVATE -DSTANDALONE)
+ TARGET_LINK_LIBRARIES(fitsverify ${LIB_NAME})
# To expand the command line arguments in Windows, see:
# http://msdn.microsoft.com/en-us/library/8bch7bkk.aspx
if(MSVC AND NOT CMAKE_SYSTEM_NAME MATCHES "WindowsStore")
- set_target_properties(FPack Funpack PROPERTIES LINK_FLAGS "setargv.obj")
+ set_target_properties(fpack funpack PROPERTIES LINK_FLAGS "setargv.obj")
endif(MSVC)
- install(TARGETS FPack Funpack Fitscopy Fitsverify RUNTIME DESTINATION bin)
+ install(TARGETS fpack funpack fitscopy fitsverify RUNTIME DESTINATION bin)
ENDIF(UTILS)