Commit e2ebe2cf authored by Artur Wojcik's avatar Artur Wojcik
Browse files

fix CMakeLists.txt error

parent 69b5b2cb
...@@ -308,9 +308,10 @@ else() ...@@ -308,9 +308,10 @@ else()
target_compile_definitions(migraphx PUBLIC MIGRAPHX_HAS_EXECUTORS=0) target_compile_definitions(migraphx PUBLIC MIGRAPHX_HAS_EXECUTORS=0)
endif() endif()
#if(NOT WIN32) if(NOT WIN32)
find_package(nlohmann_json 3.8.0 REQUIRED) find_package(nlohmann_json 3.8.0 REQUIRED)
endif() endif()
target_link_libraries(migraphx PRIVATE nlohmann_json::nlohmann_json) target_link_libraries(migraphx PRIVATE nlohmann_json::nlohmann_json)
migraphx_generate_export_header(migraphx) migraphx_generate_export_header(migraphx)
...@@ -373,4 +374,5 @@ rocm_export_targets( ...@@ -373,4 +374,5 @@ rocm_export_targets(
Threads Threads
${PACKAGE_DEPENDS} ${PACKAGE_DEPENDS}
) )
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