mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-21 07:55:32 +08:00
28b70b41c4
* bugfix for [ftgl] build failure #9520. Applied same solution as cbezault did for #7697 * bugfix for [ftgl] build failure #9520. Added suggested changes from the review and clean-up EOL characters. * [ftgl] remove ftgl:x64-linux=fail from ci.baseline.txt * [ftgl] build failure #9520 - disable doxygen on Linux * [ftgl] build failure #9520 - force the compiler to use the C++11 standard * [ftgl] build failure #9520 - remove ftgl:x64-osx=fail * [ftgl] build failure #9520 - add missing C++11 standard patch
31 lines
757 B
Diff
31 lines
757 B
Diff
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
|
index 303fcae..718ae88 100644
|
|
--- a/CMakeLists.txt
|
|
+++ b/CMakeLists.txt
|
|
@@ -35,15 +35,16 @@ ENDIF(BUILD_SHARED_LIBS)
|
|
|
|
ADD_CUSTOM_TARGET(doc)
|
|
|
|
-FIND_PACKAGE(Doxygen)
|
|
-IF(DOXYGEN_FOUND)
|
|
- ADD_CUSTOM_TARGET(doxygen
|
|
- ${DOXYGEN_EXECUTABLE}
|
|
- WORKING_DIRECTORY ${PROJECT_SOURCE_DIR}
|
|
- COMMENT "Doxygen ...")
|
|
- ADD_DEPENDENCIES(doc doxygen)
|
|
-
|
|
-ENDIF(DOXYGEN_FOUND)
|
|
+IF (WIN32) # doxygen only have windows package in vcpkg now.
|
|
+ FIND_PACKAGE(Doxygen)
|
|
+ IF(DOXYGEN_FOUND)
|
|
+ ADD_CUSTOM_TARGET(doxygen
|
|
+ ${DOXYGEN_EXECUTABLE}
|
|
+ WORKING_DIRECTORY ${PROJECT_SOURCE_DIR}
|
|
+ COMMENT "Doxygen ...")
|
|
+ ADD_DEPENDENCIES(doc doxygen)
|
|
+ ENDIF(DOXYGEN_FOUND)
|
|
+ENDIF()
|
|
|
|
SUBDIRS(src)
|
|
|