SWDEV-362930 - Fixes packging issue Windows using makefile (#3054)
Issue NMAKE : fatal error U1065: invalid option 'w'
Solution -
Windows to use Ninja but cmake needs to skip compiler test
Change-Id: I1f666254ce5188dff0897815677ce4d9faf55e4c
[ROCm/hip commit: a47e8ac84f]
This commit is contained in:
committed by
GitHub
parent
6500f83b4f
commit
473ad7a867
@@ -19,6 +19,13 @@
|
||||
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||
# THE SOFTWARE.
|
||||
cmake_minimum_required(VERSION 3.16.8)
|
||||
# vc 19.31.31107.0 gives issue while packaging using makefile
|
||||
# To avoid error NMAKE : fatal error U1065: invalid option 'w'
|
||||
# Windows to use Ninja generator like other projects
|
||||
# to skip the simple compiler test
|
||||
set(CMAKE_C_COMPILER_WORKS 1)
|
||||
set(CMAKE_CXX_COMPILER_WORKS 1)
|
||||
|
||||
project(tests)
|
||||
|
||||
MACRO(SUBDIRLIST result curdir)
|
||||
|
||||
Reference in New Issue
Block a user