cmake styling cleanup in Visage find module and interface CMakeLists

This commit is contained in:
Stephen Birarda 2014-03-07 13:42:13 -08:00
parent 23249866f7
commit 569dd694fe
2 changed files with 4 additions and 3 deletions

View file

@ -15,7 +15,7 @@
if (VISAGE_LIBRARIES AND VISAGE_INCLUDE_DIRS)
# in cache already
set(VISAGE_FOUND TRUE)
else (VISAGE_LIBRARIES AND VISAGE_INCLUDE_DIRS)
else ()
find_path(VISAGE_INCLUDE_DIR VisageTracker2.h ${VISAGE_ROOT_DIR}/include)
if (APPLE)
@ -73,4 +73,4 @@ else (VISAGE_LIBRARIES AND VISAGE_INCLUDE_DIRS)
# show the VISAGE_INCLUDE_DIRS and VISAGE_LIBRARIES variables only in the advanced view
mark_as_advanced(VISAGE_INCLUDE_DIRS VISAGE_LIBRARIES)
endif (VISAGE_LIBRARIES AND VISAGE_INCLUDE_DIRS)
endif ()

View file

@ -49,7 +49,8 @@ endforeach(SUBDIR)
# windows also includes the faceshift externals, because using a lib doesn't work due to debug/release mismatch
if (WIN32)
set(EXTERNAL_SOURCE_SUBDIRS "faceshift")
endif (WIN32)
endif ()
foreach(EXTERNAL_SOURCE_SUBDIR ${EXTERNAL_SOURCE_SUBDIRS})
file(GLOB_RECURSE SUBDIR_SRCS
"external/${EXTERNAL_SOURCE_SUBDIR}/src/*.cpp"