[ttssh2-commit] [10049] cmake時、ヘルプコンパイラが存在しないときはchmを作成しない

Back to archive index
scmno****@osdn***** scmno****@osdn*****
2022年 7月 9日 (土) 12:44:51 JST


Revision: 10049
          https://osdn.net/projects/ttssh2/scm/svn/commits/10049
Author:   zmatsuo
Date:     2022-07-09 12:44:50 +0900 (Sat, 09 Jul 2022)
Log Message:
-----------
cmake時、ヘルプコンパイラが存在しないときはchmを作成しない

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

-------------- next part --------------
Modified: trunk/doc/CMakeLists.txt
===================================================================
--- trunk/doc/CMakeLists.txt	2022-07-09 03:44:40 UTC (rev 10048)
+++ trunk/doc/CMakeLists.txt	2022-07-09 03:44:50 UTC (rev 10049)
@@ -37,6 +37,9 @@
 if ("${PERL}" STREQUAL "PERL-NOTFOUND")
   return()
 endif()
+if (("${HHC}" STREQUAL "HHC-NOTFOUND") AND ("${CHMCMD}" STREQUAL "CHMCMD-NOTFOUND"))
+  return()
+endif()
 
 add_subdirectory(en)
 set_target_properties(chm_en PROPERTIES FOLDER doc)


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