mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-18 00:40:24 +08:00
614e7b491b
* [simonbrunel-qtpromise] add simonbrunel-qtpromise to vcpkg * [simonbrunel-qtpromise] use version rather than version-string * [simonbrunel-qtpromise] generate version info * [simonbrunel-qtpromise] remove unnecessary cmake settings * [simonbrunel-qtpromise] regenerate version info * use quotes in portfile Co-authored-by: Cheney Wang <38240633+Cheney-W@users.noreply.github.com> * [simonbrunel-qtpromise] regenerate version info * [simonbrunel-qtpromise] fix qt dependency in cmake config * [simonbrunel-qtpromise] define include directory in terms of CMAKE_CURRENT_LIST_DIR * [simonbrunel-qtpromise] add patch for installing header files * [simonbrunel-qtpromise] remove error flags * [simonbrunel-qtpromise] add hint for qt5 support * [simonbrunel-qtpromise] regenerate version info --------- Co-authored-by: Cheney Wang <38240633+Cheney-W@users.noreply.github.com>
22 lines
467 B
Diff
22 lines
467 B
Diff
--- a/CMakeLists.txt
|
|
+++ b/CMakeLists.txt
|
|
@@ -34,6 +34,7 @@ add_definitions(
|
|
-DQT_NO_KEYWORDS
|
|
)
|
|
|
|
+#[[ remove error flags
|
|
# https://github.com/simonbrunel/qtpromise/issues/10
|
|
if(CMAKE_CXX_COMPILER_ID MATCHES "GNU")
|
|
# https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html
|
|
@@ -83,8 +84,10 @@ elseif(CMAKE_CXX_COMPILER_ID MATCHES "MSVC")
|
|
/WX
|
|
)
|
|
endif()
|
|
+]]
|
|
|
|
if(NOT SUBPROJECT)
|
|
enable_testing()
|
|
add_subdirectory(tests)
|
|
endif()
|
|
+
|