mirror of
https://github.com/itay-grudev/SingleApplication.git
synced 2024-11-15 04:05:43 +08:00
Merge pull request #189 from SZinedine/master
fix Could not find advapi32_LIBRARY
This commit is contained in:
commit
494772e98c
@ -38,9 +38,7 @@ endif()
|
||||
target_link_libraries(${PROJECT_NAME} PUBLIC ${QT_LIBRARIES})
|
||||
|
||||
if(WIN32)
|
||||
find_library(advapi32_LIBRARY advapi32 REQUIRED)
|
||||
mark_as_advanced(advapi32_LIBRARY)
|
||||
target_link_libraries(${PROJECT_NAME} PRIVATE ${advapi32_LIBRARY})
|
||||
target_link_libraries(${PROJECT_NAME} PRIVATE advapi32)
|
||||
endif()
|
||||
|
||||
target_compile_definitions(${PROJECT_NAME} PUBLIC QAPPLICATION_CLASS=${QAPPLICATION_CLASS})
|
||||
|
Loading…
Reference in New Issue
Block a user