Revision: 9996 https://osdn.net/projects/ttssh2/scm/svn/commits/9996 Author: zmatsuo Date: 2022-06-11 00:20:24 +0900 (Sat, 11 Jun 2022) Log Message: ----------- linuxでビルドできなくなっていたので修正 Modified Paths: -------------- trunk/cygwin/CMakeLists.txt -------------- next part -------------- Modified: trunk/cygwin/CMakeLists.txt =================================================================== --- trunk/cygwin/CMakeLists.txt 2022-06-10 15:20:13 UTC (rev 9995) +++ trunk/cygwin/CMakeLists.txt 2022-06-10 15:20:24 UTC (rev 9996) @@ -3,16 +3,16 @@ cyglaunch PROPERTIES FOLDER cygwin) -if(CMAKE_HOST_SYSTEM_NAME MATCHES "Linux") - # linux上ではcygwin関連はビルドしない - return() -endif() - add_subdirectory(cyglib) set_target_properties( cyglib PROPERTIES FOLDER cygwin) +if(CMAKE_HOST_SYSTEM_NAME MATCHES "Linux") + # linux上ではcygwinが必要なものはビルドできない + return() +endif() + if(CMAKE_SIZEOF_VOID_P EQUAL 4) # 32bit build add_subdirectory(cygtool)