|
@@ -292,7 +292,11 @@ function(target_export target)
|
|
|
set(package_destination "Frameworks/${target}.framework/Resources/cmake")
|
|
|
set(include_destination "Frameworks/${target}.framework/Headers")
|
|
|
else()
|
|
|
- set(package_destination "${OBS_CMAKE_DESTINATION}/${target}")
|
|
|
+ if(OS_WINDOWS)
|
|
|
+ set(package_destination "${OBS_CMAKE_DESTINATION}")
|
|
|
+ else()
|
|
|
+ set(package_destination "${OBS_CMAKE_DESTINATION}/${target}")
|
|
|
+ endif()
|
|
|
set(include_destination "${OBS_INCLUDE_DESTINATION}")
|
|
|
endif()
|
|
|
|