Commit a36b4467 authored by LOPEZ GANDIA Axel's avatar LOPEZ GANDIA Axel

Added compatibility with linux

parent a6e856ea
......@@ -40,6 +40,12 @@ link_directories( ./lib/${CMAKE_BUILD_TYPE} )
file( GLOB_RECURSE source_files src/* include/*)
file( GLOB_RECURSE 3rd_party 3rd-party/tinyxml/* 3rd-party/nanoflann/*)
if ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "MSVC")
else()
#linux compatibility compiler option
add_definitions(-fPIC)
endif()
add_library(Engine STATIC ${source_files} ${3rd_party})
add_executable(OCSR_ConsoleApplication main.cpp)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment