mkdir pnglite;cmake .. -DPREFER_BUNDLED_LIBS=ON;make
$ git rev-parse HEAD; cmake --version | head -n1
73c03544b4523ebeef55b9d4032a33bddbb47e2f
cmake version 3.10.1
cd pnglite
in my commanddiff --git a/cmake/FindPnglite.cmake b/cmake/FindPnglite.cmake
index b011a5011..7c327684e 100644
--- a/cmake/FindPnglite.cmake
+++ b/cmake/FindPnglite.cmake
@@ -17,7 +17,11 @@ if(NOT PREFER_BUNDLED_LIBS)
mark_as_advanced(PNGLITE_LIBRARY PNGLITE_INCLUDEDIR)
+ message(STATUS "shouldn't happen ${PNGLITE_LIBRARY} ${PNGLITE_INCLUDEDIR}")
+
if(PNGLITE_LIBRARY AND PNGLITE_INCLUDEDIR)
+ message(STATUS "HOW??? ${PNGLITE_LIBRARY} ${PNGLITE_INCLUDEDIR}")
+
include(FindPackageHandleStandardArgs)
find_package_handle_standard_args(Pnglite DEFAULT_MSG PNGLITE_LIBRARY PNGLITE_INCLUDEDIR)
CMakeCache.txt
?cmake [<options>] (<path-to-source> | <path-to-existing-build>)
cmake -H.. -B.
-H
for source directory, -B
for build directory. but they explicitly don't support these flags officiallydiscord rich presence
https://discordapp.com/rich-presence