Warning, /libraries/perceptualcolor/utils/CMakeLists.txt is written in an unsupported language. File is not indexed.
0001 # SPDX-FileCopyrightText: Lukas Sommer <sommerluk@gmail.com> 0002 # SPDX-License-Identifier: BSD-2-Clause OR MIT 0003 0004 0005 0006 0007 0008 ################# Tool generating screenshots of widgets ################# 0009 add_executable(generatescreenshots) 0010 # target_sources should normally always use PRIVATE. Details: 0011 # crascit.com/2016/01/31/enhanced-source-file-handling-with-target_sources 0012 target_sources( 0013 generatescreenshots 0014 PRIVATE generatescreenshots.cpp) 0015 target_link_libraries( 0016 generatescreenshots 0017 # Transitive dependencies (PUBLIC, INTERFACE) don’t make sense 0018 # for executables, since you can’t link against an executable. 0019 # Therefore using PRIVAT: 0020 PRIVATE "perceptualcolorinternal-${MAJOR_VERSION}")