diff --git a/corpus2tools/CMakeLists.txt b/corpus2tools/CMakeLists.txt index 1be61555e2b560c4cfba9c327201b37b61533fa4..968efbc20c051a48f31acaef6c6c8b96dc886b23 100644 --- a/corpus2tools/CMakeLists.txt +++ b/corpus2tools/CMakeLists.txt @@ -21,7 +21,6 @@ add_executable( tagset-tool tagset-tool.cpp ) add_executable( corpus2get corpus2get.cpp ) target_link_libraries ( tagset-tool corpus2 pwrutils ${Boost_LIBRARIES} ${LIBS}) target_link_libraries ( corpus2get corpus2 pwrutils ${Boost_LIBRARIES} ${LIBS}) -if(UNIX) install(TARGETS tagset-tool corpus2get RUNTIME DESTINATION bin) @@ -29,4 +28,3 @@ if(UNIX) DESTINATION bin PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ GROUP_EXECUTE WORLD_READ WORLD_EXECUTE) -endif(UNIX) diff --git a/libcorpus2/CMakeLists.txt b/libcorpus2/CMakeLists.txt index fc5dc989bf0610e532e92d596411ff5aab44bd52..e1e6637193912e93b62cc0dc4212d548ffc62bd3 100644 --- a/libcorpus2/CMakeLists.txt +++ b/libcorpus2/CMakeLists.txt @@ -99,8 +99,8 @@ set_target_properties(corpus2 PROPERTIES VERSION "${corpus2_ver_major}.${corpus2_ver_minor}" SOVERSION ${corpus2_ver_major}) -if(UNIX) install(TARGETS corpus2 + ARCHIVE DESTINATION lib LIBRARY DESTINATION lib) install( @@ -126,5 +126,4 @@ if(UNIX) PATTERN ".svn" EXCLUDE PATTERN "local/*" EXCLUDE ) -endif(UNIX) diff --git a/libpwrutils/CMakeLists.txt b/libpwrutils/CMakeLists.txt index 30c8042c4f8921a8daf563a7cb52ccea87f25841..68c55e920fb872105c55111cc168790b44fdccb5 100644 --- a/libpwrutils/CMakeLists.txt +++ b/libpwrutils/CMakeLists.txt @@ -52,8 +52,8 @@ set_target_properties(pwrutils PROPERTIES VERSION "${pwrutils_ver_major}.${pwrutils_ver_minor}" SOVERSION ${pwrutils_ver_major}) -if(UNIX) install(TARGETS pwrutils + ARCHIVE DESTINATION lib LIBRARY DESTINATION lib) install( @@ -70,5 +70,4 @@ if(UNIX) DESTINATION include FILES_MATCHING PATTERN "version.h" ) -endif(UNIX) diff --git a/swig/CMakeLists.txt b/swig/CMakeLists.txt index 953425b4127311f4d65c9a8bdc1e4f31f2f8df90..0db5365cd10695d99b5bb31d4910eb1387790d49 100644 --- a/swig/CMakeLists.txt +++ b/swig/CMakeLists.txt @@ -105,8 +105,8 @@ install( # Install SWIG files # ----------------------------------------------------------------------------- -install( - FILES ${I_FILES} - DESTINATION ${SWIG_SRC_DIR} - PERMISSIONS ${PERM_SCRIPTS} -) +#install( +# FILES ${I_FILES} +# DESTINATION ${SWIG_SRC_DIR} +# PERMISSIONS ${PERM_SCRIPTS} +#)