summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 94d9249)
raw | patch | inline | side by side (parent: 94d9249)
author | johanengelen <johanengelen@users.sourceforge.net> | |
Sun, 30 Mar 2008 19:27:10 +0000 (19:27 +0000) | ||
committer | johanengelen <johanengelen@users.sourceforge.net> | |
Sun, 30 Mar 2008 19:27:10 +0000 (19:27 +0000) |
CMakeScripts/FindBoost.cmake | patch | blob | history | |
mingwenv.bat | patch | blob | history |
index 99ebf81dc150af9cde96873dcc05771b84aaf1ff..ba6778ec2b0d937e9bca0104f326cd1f6a01feed 100644 (file)
# BOOST_INCLUDE_DIR
-# To find boost on Windows, use BOOST_PATH variable set by mingwenv.bat:
-SET(env_boost_path "$ENV{BOOST_PATH}")
+# To find boost on Windows, use DEVLIBS_PATH variable set by mingwenv.bat
FIND_PATH(BOOST_INCLUDE_DIR boost/weak_ptr.hpp
/usr/include
/usr/local/include
- env_boost_path )
+ $ENV{DEVLIBS_PATH}//include )
IF (BOOST_INCLUDE_DIR)
ENDIF (BOOST_INCLUDE_DIR)
IF (BOOST_FOUND)
- MESSAGE(STATUS "Found Boost: ${BOOST_INCLUDE_DIR}")
+ MESSAGE(STATUS "boost: FOUND ( ${BOOST_INCLUDE_DIR} )")
ELSE(BOOST_FOUND)
- MESSAGE(FATAL_ERROR "Could not find Boost")
+ MESSAGE(FATAL_ERROR "boost: NOT FOUND")
ENDIF (BOOST_FOUND)
diff --git a/mingwenv.bat b/mingwenv.bat
index 605e3a257caf7f2f1d9e723ac1400acc57035ade..b0c5976dddecefb458957c7e781d45d5733be766 100755 (executable)
--- a/mingwenv.bat
+++ b/mingwenv.bat
set GTK=c:/devlibs
set GTKDOS=c:\devlibs
set PKG_CONFIG_PATH=c:/devlibs/lib/pkgconfig
-set BOOST_PATH=c:/devlibs/boost
+set DEVLIBS_PATH=c:/devlibs
set PATH=%MINGW_BIN%;%CMAKE_BIN%;%GTKDOS%\bin;%PATH%