mirror of
https://github.com/overte-org/overte.git
synced 2025-08-09 11:28:03 +02:00
Build fix for linux?
This commit is contained in:
parent
7e514d2f4d
commit
c35995b8e3
1 changed files with 8 additions and 5 deletions
|
@ -6,9 +6,12 @@
|
||||||
# See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
|
# See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
|
||||||
#
|
#
|
||||||
macro(TARGET_NEURON)
|
macro(TARGET_NEURON)
|
||||||
add_dependency_external_projects(neuron)
|
# Neuron data reader is only available on these platforms
|
||||||
find_package(Neuron REQUIRED)
|
if (WIN32 OR APPLE)
|
||||||
target_include_directories(${TARGET_NAME} PRIVATE ${NEURON_INCLUDE_DIRS})
|
add_dependency_external_projects(neuron)
|
||||||
target_link_libraries(${TARGET_NAME} ${NEURON_LIBRARIES})
|
find_package(Neuron REQUIRED)
|
||||||
add_definitions(-DHAVE_NEURON)
|
target_include_directories(${TARGET_NAME} PRIVATE ${NEURON_INCLUDE_DIRS})
|
||||||
|
target_link_libraries(${TARGET_NAME} ${NEURON_LIBRARIES})
|
||||||
|
add_definitions(-DHAVE_NEURON)
|
||||||
|
endif(WIN32 OR APPLE)
|
||||||
endmacro()
|
endmacro()
|
||||||
|
|
Loading…
Reference in a new issue