Skip to content
Snippets Groups Projects
Commit 0d801f34 authored by Kenneth Guldbrandt Lausdahl's avatar Kenneth Guldbrandt Lausdahl
Browse files

removed main from library

parent 111dd306
No related branches found
No related tags found
No related merge requests found
......@@ -55,7 +55,10 @@ endif()
# Configure exposed dependency information to other projects
add_library(${PROJECT_NAME} ${C_FILES} thrird_party/minizip/minishared.c ${CPP_FILES})
file(GLOB CPP_FILES_LIB src/*.cpp)
list(REMOVE_ITEM CPP_FILES_LIB "src/main.cpp")
add_library(${PROJECT_NAME} ${C_FILES} thrird_party/minizip/minishared.c ${CPP_FILES_LIB})
target_link_libraries (${PROJECT_NAME} minizip)
target_include_directories(${PROJECT_NAME} PUBLIC include/fmi/include src/)
set_target_properties(${PROJECT_NAME} PROPERTIES POSITION_INDEPENDENT_CODE ON)
......
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