[Vm-dev] [commit] r2597 - search /usr/pkg/include if it exists
commits at squeakvm.org
commits at squeakvm.org
Thu Sep 13 15:07:11 UTC 2012
Author: piumarta
Date: 2012-09-13 08:07:11 -0700 (Thu, 13 Sep 2012)
New Revision: 2597
Modified:
trunk/platforms/unix/CMakeLists.txt
Log:
search /usr/pkg/include if it exists
Modified: trunk/platforms/unix/CMakeLists.txt
===================================================================
--- trunk/platforms/unix/CMakeLists.txt 2012-09-13 13:41:14 UTC (rev 2596)
+++ trunk/platforms/unix/CMakeLists.txt 2012-09-13 15:07:11 UTC (rev 2597)
@@ -93,6 +93,10 @@
SET (CMAKE_C_FLAGS "${CMAKE_ARCH_FLAGS} ${CMAKE_C_FLAGS}")
ENDIF (CMAKE_ARCH_FLAGS)
+IF (EXISTS /usr/pkg/include)
+ SET (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -I/usr/pkg/include")
+ENDIF (EXISTS /usr/pkg/include)
+
MESSAGE (STATUS "Using CFLAGS ${CMAKE_C_FLAGS}")
MACRO (USE_LIBRARY lib)
More information about the Vm-dev
mailing list