Fix autotype test (build) failures on Mac OS and Windows.
We need to tell Windows what symbols the main program exports and the autotype plugin imports. On both systems the linker needs the path of the main program that loads the plugin.
This commit is contained in:
@@ -154,6 +154,7 @@ add_unit_test(NAME testwildcardmatcher SOURCES TestWildcardMatcher.cpp MOCS Test
|
||||
|
||||
add_unit_test(NAME testautotype SOURCES TestAutoType.cpp MOCS TestAutoType.h
|
||||
LIBS ${TEST_LIBRARIES})
|
||||
set_target_properties(testautotype PROPERTIES ENABLE_EXPORTS ON)
|
||||
|
||||
add_unit_test(NAME testentry SOURCES TestEntry.cpp MOCS TestEntry.h
|
||||
LIBS ${TEST_LIBRARIES})
|
||||
|
||||
Reference in New Issue
Block a user