Skip to content

Commit

Permalink
moved target devinition
Browse files Browse the repository at this point in the history
  • Loading branch information
lausdahl committed Mar 14, 2024
1 parent da5df0e commit cbd1f63
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion jnifmuapi/src/main/native/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ file(GLOB CPP_FILES src/*.cpp)
file(GLOB C_FILES_3 src/fmi3/*.c) # ../includes/templates/*.c)
file(GLOB CPP_FILES_3 src/fmi3/*.cpp)

add_library(${PROJECT_NAME} SHARED ${C_FILES} ${CPP_FILES} ${C_FILES_3} ${CPP_FILES_3})


add_definitions(-DSTANDALONE_XML_PARSER -DLIBXML_STATIC -DFMI_COSIMULATION)

Expand Down Expand Up @@ -98,6 +98,8 @@ if (WIN32)
SET_target_properties(${PROJECT_NAME} PROPERTIES PREFIX "")
endif ()

add_library(${PROJECT_NAME} SHARED ${C_FILES} ${CPP_FILES} ${C_FILES_3} ${CPP_FILES_3})

include(JavaPlatformFolder.cmake)
get_java_osarch_folder(output_folders)

Expand Down

0 comments on commit cbd1f63

Please sign in to comment.