|
|
@ -20,11 +20,11 @@ function(stormpy_module NAME) |
|
|
|
|
|
|
|
if(ARGC GREATER 1) |
|
|
|
# Additional libraries |
|
|
|
target_include_directories(${NAME} PUBLIC ${CMAKE_CURRENT_SOURCE_DIR} ${storm_INCLUDE_DIR} ${ARGV2} ${CMAKE_CURRENT_BINARY_DIR}/src/generated) |
|
|
|
target_link_libraries(${NAME} PRIVATE storm ${ARGV1}) |
|
|
|
target_include_directories(${NAME} PUBLIC ${CMAKE_CURRENT_SOURCE_DIR} ${storm_INCLUDE_DIR} ${storm-parsers_INCLUDE_DIR} ${storm-counterexamples_INCLUDE_DIR} ${ARGV2} ${CMAKE_CURRENT_BINARY_DIR}/src/generated) |
|
|
|
target_link_libraries(${NAME} PRIVATE storm storm-parsers storm-counterexamples ${ARGV1}) |
|
|
|
else() |
|
|
|
target_include_directories(${NAME} PUBLIC ${CMAKE_CURRENT_SOURCE_DIR} ${storm_INCLUDE_DIR} ${CMAKE_CURRENT_BINARY_DIR}/src/generated) |
|
|
|
target_link_libraries(${NAME} PRIVATE storm) |
|
|
|
target_include_directories(${NAME} PUBLIC ${CMAKE_CURRENT_SOURCE_DIR} ${storm_INCLUDE_DIR} ${storm-parsers_INCLUDE_DIR} ${storm-counterexamples_INCLUDE_DIR} ${CMAKE_CURRENT_BINARY_DIR}/src/generated) |
|
|
|
target_link_libraries(${NAME} PRIVATE storm storm-parsers storm-counterexamples) |
|
|
|
endif() |
|
|
|
endfunction(stormpy_module) |
|
|
|
|
|
|
|