Skip to content
Snippets Groups Projects
Commit 0e40755a authored by Raphael Grimm's avatar Raphael Grimm
Browse files

Change setupSimoxExternalLibraries from a function to a macro

parent f1613ac0
No related branches found
No related tags found
No related merge requests found
# Build and helper macros
function(setupSimoxExternalLibraries)
macro(setupSimoxExternalLibraries)
IF (Simox_VISUALIZATION)
# we need to check for Qt
IF(NOT "$ENV{QT_QMAKE_EXECUTABLE}" STREQUAL "")
......@@ -22,7 +22,7 @@ function(setupSimoxExternalLibraries)
INCLUDE_DIRECTORIES(SYSTEM ${Simox_EXTERNAL_INCLUDE_DIRS})
ADD_DEFINITIONS( ${Simox_EXTERNAL_LIBRARY_FLAGS} )
LINK_DIRECTORIES( ${Simox_LIBRARY_DIRS} )
endfunction()
endmacro()
function(VirtualRobotApplication name srcs incs)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment