[ttssh2-commit] [10710] MinGWでリンクできるよう修正

Back to archive index
scmno****@osdn***** scmno****@osdn*****
2023年 5月 16日 (火) 22:16:48 JST


Revision: 10710
          https://osdn.net/projects/ttssh2/scm/svn/commits/10710
Author:   zmatsuo
Date:     2023-05-16 22:16:48 +0900 (Tue, 16 May 2023)
Log Message:
-----------
MinGWでリンクできるよう修正

Modified Paths:
--------------
    trunk/ttpmenu/CMakeLists.txt

-------------- next part --------------
Modified: trunk/ttpmenu/CMakeLists.txt
===================================================================
--- trunk/ttpmenu/CMakeLists.txt	2023-05-16 13:16:37 UTC (rev 10709)
+++ trunk/ttpmenu/CMakeLists.txt	2023-05-16 13:16:48 UTC (rev 10710)
@@ -66,11 +66,12 @@
   .
   )
 
-target_link_options(
-  ${PACKAGE_NAME}
-  PRIVATE
-  /MANIFEST:NO
-)
+if(MSVC)
+  target_link_options(
+    ${PACKAGE_NAME}
+    PRIVATE
+    /MANIFEST:NO)
+endif()
 
 target_link_libraries(
   ${PACKAGE_NAME}


ttssh2-commit メーリングリストの案内
Back to archive index