CMakeLists.txt: document usage of IFCDIRS.

This commit is contained in:
Stinkfist0
2016-05-30 15:29:45 +03:00
parent 906fefaf35
commit 53fadd9808
+3 -2
View File
@@ -60,6 +60,8 @@ IF(NOT IS_ABSOLUTE ${LIBDIR})
ENDIF()
MESSAGE(STATUS "LIBDIR: ${LIBDIR}")
set(IFCDIRS "") # for *nix rpaths
if (BUILD_SHARED_LIBS)
add_definitions(-DBUILD_SHARED_LIBS)
if (MSVC)
@@ -67,6 +69,7 @@ if (BUILD_SHARED_LIBS)
# There will be couple hundreds of these so suppress them away.
add_definitions(-wd4251)
endif()
set(IFCDIRS "${LIBDIR}")
endif()
# Create cache entries if absent for environment variables
@@ -425,7 +428,6 @@ endif()
SET(IFCLIBS "")
SET(IFCBINS "")
SET(IFCDIRS "")
# IfcParse
file(GLOB IFCPARSE_H_FILES ../src/ifcparse/*.h)
@@ -470,7 +472,6 @@ IF(BUILD_SHARED_LIBS)
add_library(IfcGeom SHARED ${IFCGEOM_FILES})
set(IFCBINS "${IFCBINS};IfcGeom")
endif()
SET(IFCDIRS "${LIBDIR}")
ELSE()
ADD_LIBRARY(IfcGeom STATIC ${IFCGEOM_FILES})
set(IFCLIBS "${IFCLIBS};IfcGeom")